How to remove the last character from a string in Python by using the for loop concept

welcome to shbcf.ru